package com.lzy.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import com.lzy.util.DateUtil;

@Entity
@Table(name="TBIMKeyPerson")
public class KeyIM {
	
	@Id
	@Column(name="USERID")
	private String id ;
	@Column(name="ISENABLE")
	private int enable ;
	@Column(name="ISVIDEO")
	private int isVideo ;
	@Column(name="ISVOICE")
	private int isVoice ;
	@Column(name="ISSENDFILE")
	private int isSendFile ;
	@Column(name="FartherCatalogID")
	private int catalogId ;
	@Column(name="REMARK",nullable=true)
	private String remark;
	@Column(name="CREATETIME")
	private Date createTime ;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public int getEnable() {
		return enable;
	}

	public void setEnable(int enable) {
		this.enable = enable;
	}

	public int getIsVideo() {
		return isVideo;
	}

	public void setIsVideo(int isVideo) {
		this.isVideo = isVideo;
	}

	public int getIsVoice() {
		return isVoice;
	}

	public void setIsVoice(int isVoice) {
		this.isVoice = isVoice;
	}

	public int getIsSendFile() {
		return isSendFile;
	}

	public void setIsSendFile(int isSendFile) {
		this.isSendFile = isSendFile;
	}

	public int getCatalogId() {
		return catalogId;
	}

	public void setCatalogId(int catalogId) {
		this.catalogId = catalogId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateTime() {
		return DateUtil.date2String(createTime);
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
	
	
}
